home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
By Popular Request 2.0
/
By Popular Request 2.0 (Arsenal Computer).ISO
/
amiga_6
/
tiffdtyp.lha
/
sources
/
tiffunc.c
< prev
Wrap
Text File
|
1995-04-17
|
995b
|
38 lines
#include <exec/types.h>
#include <dos/dos.h>
#include <dos/dosextens.h>
#include <datatypes/datatypes.h>
#include <clib/exec_protos.h>
#include <clib/dos_protos.h>
#include <clib/utility_protos.h>
#include <pragmas/exec_pragmas.h>
#include <pragmas/dos_pragmas.h>
#include <pragmas/utility_pragmas.h>
/*****************************************************************************/
#define SysBase dthc->dthc_SysBase
#define DOSBase dthc->dthc_DOSBase
#define UtilityBase dthc->dthc_UtilityBase
/*****************************************************************************/
BOOL __asm DTHook (register __a0 struct DTHookContext * dthc)
{
BOOL retval = FALSE;
ULONG ch;
/* Make sure we have a buffer */
if (dthc->dthc_Buffer)
{
ch = *((ULONG *)dthc->dthc_Buffer);
if(ch==0x4d4d002a || ch==0x49492a00)
return TRUE;
}
return retval;
}